package acciones;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;

public abstract class AccesoRequest extends ActionSupport implements 
  ServletRequestAware,ServletResponseAware{
  
  /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
private HttpServletRequest request;
  private HttpServletResponse response;
  
  public String execute() throws Exception{
  return SUCCESS;
  }
  public void setServletRequest(HttpServletRequest request){
  this.request = request;
  }

  public HttpServletRequest getServletRequest(){
  return request;
  }

  public void setServletResponse(HttpServletResponse response){
  this.response = response;
  }

  public HttpServletResponse getServletResponse(){
  return response;
  }
}